package jdk8.lambda;

@FunctionalInterface
interface GreetingService {
//    String toString();
    void sayMessage(String message);

    default void print(){
        this.sayMessage("哈哈");
        System.out.print("我是default method!");
    }

    default void println(){
        System.out.println("I am default method!");
    }

}